package com.eastfair.certificate.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 实体类
 * 发票申请
 * </p>
 *
 * @author clm
 * @since 2022-08-06
 */
@Data
@ApiModel(value = "TakeApplyerDTO", description = "发票申请")
public class TakeApplyerDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单id集合")
    private List<Long> orderIds;

    /**
     * 发票业务类型枚举（合同发票，结算单发票，订单发票...）
     */
    @ApiModelProperty(value = "发票业务类型枚举（合同发票，结算单发票，订单发票...）")
    @Size(max = 64, message = "发票业务类型枚举（合同发票，结算单发票，订单发票...）长度不能超过64")
    private String businessType;

    /**
     * 申请人ID
     */
    @ApiModelProperty(value = "申请人ID")
    private Long applicationId;
    /**
     * 申请人姓名
     */
    @ApiModelProperty(value = "申请人姓名")
    @Size(max = 255, message = "申请人姓名长度不能超过255")
    private String applicationName;
    /**
     * 收件人
     */
    @ApiModelProperty(value = "收件人")
    @Size(max = 255, message = "收件人长度不能超过255")
    private String addressee;
    /**
     * 收件人地址
     */
    @ApiModelProperty(value = "收件人地址")
    @Size(max = 255, message = "收件人地址长度不能超过255")
    private String toAddress;
    /**
     * 收件人手机号
     */
    @ApiModelProperty(value = "收件人手机号")
    @Size(max = 255, message = "收件人手机号长度不能超过255")
    private String mobile;
    /**
     * 收件人邮箱
     */
    @ApiModelProperty(value = "收件人邮箱")
    @Size(max = 255, message = "收件人邮箱长度不能超过255")
    private String mailbox;
    /**
     * 发票类型（数据字典)
     */
    @ApiModelProperty(value = "发票类型（数据字典)")
    @Size(max = 255, message = "发票类型（数据字典)长度不能超过255")
    private String invoiceType;
    /**
     * 开票状态 数据字典
     */
    @ApiModelProperty(value = "开票状态 数据字典")
    @Size(max = 50, message = "开票状态 数据字典长度不能超过50")
    private String invoiceState;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Size(max = 255, message = "备注长度不能超过255")
    private String remark;
}
